<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<body>
<nav class="actions" layout:fragment="dashboard-actions">
    <span><a class="btn" th:href="@{${post.path}}" href="/admin/blog/show">View</a></span>
    <span><a class="btn" th:href="@{${post.editPath}}" href="/admin/blog/edit">Edit</a></span>
    <span><form th:action="@{${post.updatePath}}" method="post">
        <input type="hidden" name="_method" value="DELETE"/>
        <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
        <button class="btn" type="submit" name="delete">Delete</button>
    </form></span>
</nav>
</body>
</html>